#ifndef  __LIST_SORTER_H_
#define  __LIST_SORTER_H_

#include "merge_list.pb.h"
#include "logger.h"
#include <new>
#include <vector>
#include <algorithm>

#define MAX_KEEP_NUM  2000

class ListSorter
{
public:
    ListSorter(){}
    ~ListSorter(){}
    int SortList(MergeList* mergeList[], int32_t listNum, MergeList* sortList);
private:
    std::vector<UnitInfo*> m_unitVec;
};
















#endif  //__LIST_SORTER_H_

/* vim: set expandtab ts=4 sw=4 sts=4 tw=100: */
